package cn.itcast.dao;


import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ReportDao {
    Integer reportMemberCount(String month);

    List<Map> reportSetmeals();

    Integer selectTodayNewMember(String today);

    Integer selectTotalMember();

    Integer selectWeekNewMember(@Param("firstDay") String firstDay,@Param("today") String today);

    Integer selectMonthNewMember(String monthOfYear);

    Integer selectTodayOrderCount(String today);

    Integer selectTodayArrival(String today);

    Integer selectWeekOrderCount(@Param("firstDay") String firstDay,@Param("today") String today);

    Integer selectThisWeekVisitsNumber(@Param("firstDay") String firstDay,@Param("today") String today);

    Integer selectThisMonthOrderNumber(String monthOfYear);

    Integer selectThisMonthVisitsNumber(String monthOfYear);

    Integer reportIncome(String format);

    Integer reportOrderCount(String format);

    Integer reportPayCount(String format);
}
